Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support some more texture formats #224

Merged
merged 6 commits into from
Dec 16, 2024

Conversation

EriKWDev
Copy link
Contributor

@EriKWDev EriKWDev commented Dec 15, 2024

Closes #223

Wasn't quite sure with the naming scheme for the formats so if you have a better capitalization or declaration order feel free to change or come with opinion and I'll change

Translated the gles-texture-descriptions from wgpu-hal though I don't know how to describe the BGR10_A2 format so just did RGBA10_A2 there as well and left a todo.

I also noticed that some 16f formats in gles seemed incorrectly labeled 'FLOAT' when they according to wgpu-hal should have been 'HALF_FLOAT'

@EriKWDev EriKWDev force-pushed the ErikWDev/texture-formats branch from 4063f26 to c895a16 Compare December 15, 2024 08:37
Copy link
Owner

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
Just one small correction, otherwise looks great

blade-graphics/src/lib.rs Outdated Show resolved Hide resolved
@EriKWDev EriKWDev force-pushed the ErikWDev/texture-formats branch from 177746b to cac73c3 Compare December 15, 2024 21:26
@kvark
Copy link
Owner

kvark commented Dec 16, 2024

Do you mind if I squash this? Or you want to squash yourself?

@EriKWDev
Copy link
Contributor Author

Do it :)

@kvark kvark merged commit 0497f3e into kvark:main Dec 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support more texture formats
2 participants